<?php
if (!class_exists('Decorator')) {
	include 'decorator.php';
}
class EatDecorator extends Decorator{
	public function attack(){
		echo '有吃饭功能|';
		$this->_general->attack();
	}
	
	public function eat(){
		echo '吃饭';
	}
}